﻿@model IEnumerable<Tag>
@if (Model != null && Model.Count() > 0)
{
    <div class="tn-box tn-widget tn-widget-content tn-corner-all spb-hot-topic">
        <div class="tn-box-header tn-widget-header tn-border-bottom ">
            <h3 class="tn-helper-reset">热门话题</h3>
        </div>
        <div class="tn-box-content tn-widget-content tn-corner-bottom ">
            <ul class="tn-list">
                @foreach (var tag in Model)
                {
                    <li>
                        @Html.Link(StringUtility.Trim(tag.TagName,10,""), SiteUrls.Instance().MicroblogTopic(tag.TagName), tag.TagName)
                        <span class="tn-text-note">(@tag.ItemCount)</span> </li>
                }
            </ul>
        </div>
    </div>
}
